﻿using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Text;

namespace AxeFrog.Data
{
	[MetadataAttribute]
	[AttributeUsage(AttributeTargets.Class)]
	public class ExportConnectionProviderAttribute : ExportAttribute
	{
		public string ProviderName { get; private set; }

		public ExportConnectionProviderAttribute(string providerName)
			: base(typeof(IConnectionProvider))
		{
			ProviderName = providerName;
		}
	}

	public interface IConnectionProviderMetadata
	{
		string ProviderName { get; }
	}
}